$OpenBSD: patch-daemon_gdm-display_c,v 1.2 2017/03/03 13:01:26 ajacoutot Exp $

XXX fix+push upstream

--- daemon/gdm-display.c.orig	Wed Mar  1 21:58:01 2017
+++ daemon/gdm-display.c	Fri Mar  3 11:52:19 2017
@@ -49,7 +49,7 @@
 #include "gdm-dbus-util.h"
 #include "gdm-xerrors.h"
 
-#define INITIAL_SETUP_USERNAME "gnome-initial-setup"
+#define INITIAL_SETUP_USERNAME "_gnome-initial-setup"
 #define GNOME_SESSION_SESSIONS_PATH DATADIR "/gnome-session/sessions"
 
 #define GDM_DISPLAY_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GDM_TYPE_DISPLAY, GdmDisplayPrivate))
@@ -301,8 +301,8 @@ setup_xhost_auth (XHostAddress              *host_entr
         host_entries[1].address   = "localuser\0" GDM_USERNAME;
         host_entries[1].length    = sizeof ("localuser\0" GDM_USERNAME);
         host_entries[2].family    = FamilyServerInterpreted;
-        host_entries[2].address   = "localuser\0gnome-initial-setup";
-        host_entries[2].length    = sizeof ("localuser\0gnome-initial-setup");
+        host_entries[2].address   = "localuser\0_gnome-initial-setup";
+        host_entries[2].length    = sizeof ("localuser\0_gnome-initial-setup");
 }
 
 gboolean
